package ru.neoflex.dataobject;

public class DataObjectPropertyImpl implements DataObjectProperty {
	private String name;
	private Class type;
	private boolean readOnly;
	
	public DataObjectPropertyImpl(String name, Class type, boolean readOnly) {
		this.name = name;
		this.type = type;
		this.readOnly = readOnly;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public Class getType() {
		return type;
	}

	@Override
	public boolean isReadOnly() {
		return readOnly;
	}
}